package com.jkoss.wine.shop.entity;

import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;


/**
 * 
 * 
 * @Author Jason
 * @Version 1.0, 2018-10-03
 * @See
 * @Since com.jkoss.wine.shop.entity
 * @Description: TODO
 */
@TableName("product_norm")
public class ProductNorm extends Model<ProductNorm> {

    private static final long serialVersionUID = 1L;

    @TableId("product_norm_id")
    private String productNormId;
    @TableField("parent_id")
    private String parentId;
    @TableField("product_id")
    private String productId;
    @TableField("sorting")
    private Integer sorting;
    @TableField("shop_id")
    private String shopId;
    @TableField("norm_name")
    private String normName;
    /**
     * 进货价   如果业务不需要就没有
     */
    @TableField("prime_costs_price")
    private Integer primeCostsPrice;
    /**
     * 建议价格 总部建议门店的价格 按系统需求 如果业务不需要就没有
     */
    @TableField("suggested_price")
    private Integer suggestedPrice;
    @TableField("norm_price")
    private Integer normPrice;
    @TableField("product_num")
    private String productNum;
    @TableField("norm_pic_url")
    private String normPicUrl;
    @TableField("add_time")
    private Date addTime;
    @TableField("operator")
    private String operator;
    @TableField("del")
    private Integer del;


    public String getProductNormId() {
        return productNormId;
    }

    public void setProductNormId(String productNormId) {
        this.productNormId = productNormId;
    }

    public String getParentId() {
        return parentId;
    }

    public void setParentId(String parentId) {
        this.parentId = parentId;
    }

    public String getProductId() {
        return productId;
    }

    public void setProductId(String productId) {
        this.productId = productId;
    }

    public Integer getSorting() {
        return sorting;
    }

    public void setSorting(Integer sorting) {
        this.sorting = sorting;
    }

    public String getShopId() {
        return shopId;
    }

    public void setShopId(String shopId) {
        this.shopId = shopId;
    }

    public String getNormName() {
        return normName;
    }

    public void setNormName(String normName) {
        this.normName = normName;
    }

    public Integer getPrimeCostsPrice() {
        return primeCostsPrice;
    }

    public void setPrimeCostsPrice(Integer primeCostsPrice) {
        this.primeCostsPrice = primeCostsPrice;
    }

    public Integer getSuggestedPrice() {
        return suggestedPrice;
    }

    public void setSuggestedPrice(Integer suggestedPrice) {
        this.suggestedPrice = suggestedPrice;
    }

    public Integer getNormPrice() {
        return normPrice;
    }

    public void setNormPrice(Integer normPrice) {
        this.normPrice = normPrice;
    }

    public String getProductNum() {
        return productNum;
    }

    public void setProductNum(String productNum) {
        this.productNum = productNum;
    }

    public String getNormPicUrl() {
        return normPicUrl;
    }

    public void setNormPicUrl(String normPicUrl) {
        this.normPicUrl = normPicUrl;
    }

    public Date getAddTime() {
        return addTime;
    }

    public void setAddTime(Date addTime) {
        this.addTime = addTime;
    }

    public String getOperator() {
        return operator;
    }

    public void setOperator(String operator) {
        this.operator = operator;
    }

    public Integer getDel() {
        return del;
    }

    public void setDel(Integer del) {
        this.del = del;
    }

    @Override
    protected Serializable pkVal() {
        return this.productNormId;
    }

    @Override
    public String toString() {
        return "ProductNorm{" +
        ", productNormId=" + productNormId +
        ", parentId=" + parentId +
        ", productId=" + productId +
        ", sorting=" + sorting +
        ", shopId=" + shopId +
        ", normName=" + normName +
        ", primeCostsPrice=" + primeCostsPrice +
        ", suggestedPrice=" + suggestedPrice +
        ", normPrice=" + normPrice +
        ", productNum=" + productNum +
        ", normPicUrl=" + normPicUrl +
        ", addTime=" + addTime +
        ", operator=" + operator +
        ", del=" + del +
        "}";
    }
}
